
<div class="container content">
    <div class="trong-content">
	<div class="left">
	    <?php $this->renderPartial('//layouts/menu_left'); ?>
	</div><!--left-->
	<div class="center">

	    <div class="box update-account-box">
		<div class="title">Success story</div>
		<?php $this->renderPartial('_menu', array('item' => 'my_story')); ?>

		<?php
		$this->widget('bootstrap.widgets.TbGridView', array(
		    'id' => 'flirt-grid',
		    'dataProvider' => $model->search(),
		    'filter' => $model,
		    'columns' => array(
			array(
			    'name' => 'text',
			    'value' => function($data) {
				return h($data->text, 50);
			    }
			),
			array(
			    'header' => 'Date',
			    'name' => 'time_created',
			    'value' => function($data) {
				return date('m-d-Y', $data->time_created);
			    },
			    'filter' => FALSE
			),
			array(
			    'class' => 'bootstrap.widgets.TbButtonColumn',
			    'template' => '{update} {delete}',
			    'htmlOptions' => array(
				'width' => 5
			    )
			),
		    ),
		));
		?>
	    </div><!--box-->

	</div><!--center-->
	<div class="right">

	    <?php $this->widget('application.widgets.leftprofile.PercentComplete') ?>
	    <?php $this->widget('application.widgets.leftprofile.Interested'); ?>

	</div><!--right-->

    </div><!--trong-content-->


</div><!--content-->

